/***********************************************************************
* @file           DisPlay.c
* @author         ZhaoYun(ZFSZDZ)
* @date           2024.10.12
* @Version        V1.0.0
* @description    LCD��ʾ֧���ļ�
***********************************************************************/
#include "Display.h"

void Display(void)
{
	LCD_ShowString(0,3,(unsigned char *)"BLDC Motor Controling",WHITE,BLACK,16,0);
    

    LCD_ShowString(0,40,(unsigned char *)"Voltage",YELLOW,BLACK,16,0);
    LCD_ShowString(55,40,(unsigned char *)":",WHITE,BLACK,16,0);
    LCD_ShowIntNum(65, 40,999, 3, BRRED, BLACK, 16);
    LCD_ShowString(90, 40, (unsigned char *)"V", WHITE, BLACK, 16, 0);
    
    LCD_ShowChinese(125,40,(unsigned char *)"Tempreture",GREEN,BLACK,16,0);
    LCD_ShowString(190,40,(unsigned char *)":",WHITE,BLACK,16,0);
    LCD_ShowIntNum(200,40,100,1, BRRED, BLACK, 16);
    
    LCD_ShowChinese(10,60,(unsigned char *)"???",GREEN,BLACK,16,0);
    LCD_ShowString(45,60,(unsigned char *)":",WHITE,BLACK,16,0);
    LCD_ShowIntNum(55, 60, 200, 3, BRRED, BLACK, 16);
    LCD_ShowString(85, 60, (unsigned char *)"C", WHITE, BLACK, 16, 0);
    
    LCD_ShowChinese(125,60,(unsigned char *)"???????",GREEN,BLACK,16,0);
    LCD_ShowString(190,60,(unsigned char *)":",WHITE,BLACK,16,0);
    LCD_ShowIntNum(200,60,3, 1, BRRED, BLACK, 16);
    
    LCD_ShowChinese(10,80,(unsigned char *)"ת��",GREEN,BLACK,16,0);
    LCD_ShowString(75,80,(unsigned char *)":",WHITE,BLACK,16,0);
    LCD_ShowIntNum(85, 80, 1750, 4, BRRED, BLACK, 16);
    LCD_ShowString(125, 80, (unsigned char *)"RPM", WHITE, BLACK, 16, 0);
    
    LCD_ShowChinese(10,100,(unsigned char *)"??????",GREEN,BLACK,16,0);
    LCD_ShowString(75,100,(unsigned char *)":",WHITE,BLACK,16,0);
    LCD_ShowIntNum(85, 100, 1800, 4, BRRED, BLACK, 16);
    LCD_ShowString(125, 100, (unsigned char *)"RPM", WHITE, BLACK, 16, 0);
}
/*******************Copyright (c) ZFSZDZ ******END OF FILE************/
